<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript" src="../js/jQuery.js"></script>
    <script type="text/javascript">
        function btnClick(){
           var obj= document.getElementById("btn");
           alert(obj.value)
           
           var jobj=$(obj);
           alert(jobj.val())
        }
        
    </script>
</head>

    <input type="button" value="我是按钮" onclick="btnClick()" id="btn" >
</body>
</html>